home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 5439 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.2 KB

  1. Path: mail2news.demon.co.uk!ues5.cern.ch
  2. From: Dan Pop <danpop@ues5.cern.ch>
  3. Newsgroups: comp.lang.c
  4. Subject: Re: Limit on #bytes inside of struct?
  5. Date: Fri, 9 Feb 1996 18:18:27 +0100
  6. Message-ID: <9602091718.AA18553@ues5.cern.ch>
  7. References: <4feg1d$d4g@cville-srv.wam.umd.edu> <4ffg6b$ivd@sparcserver.lrz-muenchen.de> <4ffohq$1gb@mordred.gatech.edu>
  8. X-NNTP-Posting-Host: ues5.cern.ch
  9. X-Newsreader: NN version 6.5.0 #7 (NOV)
  10. X-Mail2News-Path: mail1.cern.ch!ues5.cern.ch
  11.  
  12. james@amber.biology.gatech.edu (James McIninch) writes:
  13.  
  14. >ua302aa@lrz-muenchen.de wrote:
  15. >: jsquires@wam.umd.edu (jeffrey d squires) writes:
  16. >
  17. >: >Is there a limit on the number of bytes allowed inside of a struct?
  18. >
  19. >: Yes, there is a limit on the number of bytes allowed in one 
  20. >: object. That limit is 32k. 
  21. >
  22. >No. There is no limit. Individual implementations of compilers or OS's may
  23. >impose a limit, but there is no limit that is integral to the C languag itself.
  24.  
  25. James is right.  What the C language requires is that a compiler-imposed 
  26. limit for the size of an object cannot be lower than 32k.
  27.  
  28. Dan
  29. -- 
  30. Dan Pop
  31. CERN, CN Division
  32. Email: danpop@mail.cern.ch 
  33. Mail:  CERN - PPE, Bat. 31 R-004, CH-1211 Geneve 23, Switzerland
  34.